import {Product} from "../entity/Product";
/**
 * Created by Administrator on 2016/8/3.
 */

export class ProductService{
    getAllProduct():Product[]{
        return [
            {"name":"product 1","src":"themes/images/products/3.jpg","price":100},
            {"name":"product 2","src":"themes/images/products/3.jpg","price":101},
            {"name":"product 3","src":"themes/images/products/3.jpg","price":102},
            {"name":"product 4","src":"themes/images/products/3.jpg","price":103},
            {"name":"product 5","src":"themes/images/products/3.jpg","price":104},
            {"name":"product 6","src":"themes/images/products/3.jpg","price":105}
        ];
    }
}